import Vue from 'vue'
import 'normalize.css/normalize.css'
import ElementUI from 'element-ui'
import './styles/element-variables.scss'
import '@/styles/index.scss'
import '@/styles/custom.scss'

import App from './App.vue'
import store from './store'
import router from './router/router'
import VueParticles from 'vue-particles'
// import { VueEditor, Quill } from "vue2-editor";
// import VueQuillEditor from 'vue-quill-editor'
// import 'quill/dist/quill.core.css'
// import 'quill/dist/quill.snow.css'
// import 'quill/dist/quill.bubble.css'

import './icons' // icon
import './router/permission' // permission control

Vue.config.productionTip = false
Vue.use(ElementUI, {
  size: 'small' // set element-ui default size
})
Vue.use(VueParticles)
// Vue.use(VueQuillEditor)
const app = new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

export default app
